Release 10.1A: OpenEdge Development:
Progress 4GL Reference


LOAD-IMAGE-DOWN( ) method

Reads the image contained in a specified file. The image is used for the button in its down state only.

Return type: LOGICAL

Applies to: BUTTON widget

Syntax
LOAD-IMAGE-DOWN ( filename 
                  [ ,
                      x-offset ,
                      y-offset ,
                      width ,
                      height 
                  ] ) 

filename

A character-string expression that specifies a full or relative pathname for a file that contains an image to display in a button when the button is in its down state.

x-offset

An integer expression that specifies the pixel along the x-axis at which to begin reading from the image file.

y-offset

An integer expression that specifies the pixel along the y-axis at which to begin reading from the image file.

width

An integer expression that specifies the number of pixels along the x-axis to read from the image file.

height

An integer expression that specifies the number of pixels along the y-axis to read from the image file.

Notes


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095